//
//  BaseTableView.m
//  NBProduct
//
//  Created by hl on 15/10/24.
//  Copyright (c) 2015年 ping. All rights reserved.
//

#import "BaseTableView.h"

@implementation BaseTableView
-(id)initWithFrame:(CGRect)frame style:(UITableViewStyle)style{
    self = [super initWithFrame:frame style:style];
    if (self) {
        [self ksc];
    }
    return self;
}
-(void)ksc{
    if (KScreenHeight == 480 ) {
        _kscH = 1;
        _kscW = 1;
    }
    else
    {
        _kscH = KScreenHeight / 568;
        _kscW = KScreenWidth / 320;
    }
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
